<template>
  <div class="app-container">
    <div>
      <el-row :gutter="20">

        <el-col :span="24" :xs="24">
          <el-card>
            <el-tabs v-model="activeTab">
              <el-tab-pane label="个人中心" name="profile">
                <account @changeImage="changeImage" />
              </el-tab-pane>
            </el-tabs>
          </el-card>
        </el-col>

      </el-row>
    </div>
  </div>
</template>

<script>
// import { mapGetters } from 'vuex'
import Account from './components/Account'

export default {
  name: 'Profile',
  components: { Account },
  data() {
    return {
      activeTab: 'profile'
    }
  },
  methods: {
    changeImage(val) {
      this.$emit('changeImage')
    }
  }
}
</script>
